import request from '@/utils/request';
// 获取订单列表
export function getFinanceOrderList(data) {
  return request({
    url: '/console/finance/getFinanceOrderList',
    method: 'POST',
    data
  });
}
// 导出订单列表
export function exportFinanceOrderList(data) {
  return request({
    url: '/console/finance/exportFinanceOrderList',
    method: 'POST',
    responseType: 'blob',
    data
  });
}
// 获取会员订单列表
export function getMemberOrderList(data) {
  return request({
    url: '/console/finance/getMemberOrderList',
    method: 'POST',
    data
  });
}
// 导出会员订单列表
export function exportMemberOrderList(data) {
  return request({
    url: '/console/finance/exportMemberOrderList',
    method: 'POST',
    responseType: 'blob',
    data
  });
}
// 获取提现列表
export function getWithdrawList(data) {
  return request({
    url: '/console/finance/getWithdrawList',
    method: 'POST',
    data
  });
}
// 导出提现列表
export function exportWithdrawList(data) {
  return request({
    url: '/console/finance/exportWithdrawList',
    method: 'POST',
    responseType: 'blob',
    data
  });
}